package Extends02;

public class Dogs extends DogAnimals{

    public Dogs(){}
    public Dogs(String name,String color,int age){
        super(name, color, age);
    }

    /**
     * 埋骨头
     */
    public void  bury(){
        System.out.println("那只叫"+this.getName()+"的"+this.getColor()+"狗正在埋骨头");
    }
}
